<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>基于Layui的主页框架布局</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" href="layui/css/layui.css">
		<link rel="stylesheet" href="css/main.min.css" />
	</head>
	
	<body>
		<div class="layui-layout layui-layout-admin">
			<div class="layui-header">
				<div class="layui-logo">
					<img class="lay-logo-img" src="img/logo.jpg" />
					<span class="lay-logo-title">XXX某系统</span>
				</div>
				<div class="lay-mobile-bg"></div>
				<ul class="layui-nav layui-layout-left">
					<li class="layui-nav-item">
						<a href="javascript:;" class="lay-hiden-menu" title="菜单收起" onclick="configObj.hidenMenu(this)">
							<i class="layui-icon">&#xe668;</i>
						</a>
					</li>
				</ul>
				<div class="lay-mobile-hide lay-menu-navigation"></div>
				<ul class="lay-head-menu"></ul>
				<ul class="layui-nav layui-layout-right">
					<li class="layui-nav-item lay-mobile-hide">
						<div class="lay-tree-menu">
							<input class="layui-input lay-menu-input" id="lay-menu-treeselect" lay-filter="lay-menu-treeselect" placeholder="搜索..."/>
						</div>
					</li>
					<li class="layui-nav-item lay-mobile-hide">
						<a href="javascript:;" title="消息" onclick="mainObj.messageTips()">
							<i class="layui-icon">&#xe667;</i>
						</a>
					</li>
					<li class="layui-nav-item lay-mobile-hide">
						<a href="javascript:;" title="更换主题" onclick="configObj.openSettingTheme()">
							<i class="layui-icon">&#xe66a;</i>
						</a>
					</li>
					<li class="layui-nav-item lay-mobile-hide">
						<a class="lay-screen" href="javascript:;" lay-id="0" title="全屏" onclick="configObj.fullOrExitScreen(this)">
							<i class="layui-icon">&#xe622;</i>
						</a>
					</li>
					<li class="layui-nav-item lay-mobile-show">
						<a href="javascript:;" id="mobile-all">
							<i class="layui-icon layui-icon-more-vertical"></i>
						</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" style="position: relative;right: 10px;">
							<img src="img/head.jpg" class="layui-nav-img"> 慕云枫
						</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" onclick="mainObj.personalData()"><i class="layui-icon" style="margin-right: 5px;">&#xe642;</i>个人资料</a>
							</dd>
							<dd>
								<a href="javascript:;" onclick="mainObj.setting()"><i class="layui-icon" style="margin-right: 5px;">&#xe716;</i>设置</a>
							</dd>
							<hr />
							<dd>
								<a href="javascript:;" onclick="mainObj.exitLogin()"><i class="layui-icon" style="margin-right: 5px;">&#xe682;</i>退出登录</a>
							</dd>
						</dl>
					</li>
					<li class="layui-nav-item lay-mobile-hide" onclick="mainObj.rightAll()">
						<a href="javascript:;">
							<i class="layui-icon layui-icon-more-vertical"></i>
						</a>
					</li>
				</ul>
			</div>
			<div class="layui-side">
				<div class="layui-side-scroll">
					<ul class="layui-nav layui-nav-tree lay-left-menu"></ul>
				</div>
			</div>
			<div class="lay-mobile-bg"></div>
			<div class="layui-body">
				<div class="layui-tab layui-tab-brief lay-tab" lay-filter="body-tab" lay-allowclose="true">
					<ul class="layui-tab-title"></ul>
					<div class="lay-tab-control">
						<div class="layui-icon layui-icon-prev" id="lay-icon-prev"></div>
						<div class="layui-icon layui-icon-next" id="lay-icon-next"></div>
						<div class="layui-icon layui-icon-down" id="lay-icon-down"></div>
					</div>
					<div class="layui-tab-content">
					</div>
				</div>
				<div class="lay-body-box">
					<div class="lay-body-content">
						<div class="lay-tab-content lay-anim"></div>
					</div>
				</div>
			</div>
			<!--<div class="layui-footer">底部固定区域</div>-->
		</div>

		
	</body>
	<!-- 右上角更多-->
	<script id="lay-head-right-all" type="text/html">
		<div style="padding: 15px;">
			<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
				<legend>说明</legend>
			</fieldset>
			<blockquote class="layui-elem-quote layui-text" style="border: 0px;">
				一个基于layui的简略主页框架
			</blockquote>
			<blockquote class="layui-elem-quote layui-text" style="border: 0px;">
				使用方式：直接更改main.js菜单数据获取接口返回相应格式即可(格式参考data.json)
			</blockquote>
			<blockquote class="layui-elem-quote layui-text" style="border: 0px;">
				编写理念：没啥理念，就是无聊编写的一个通用架构，直接方便系统套用
			</blockquote>
			<blockquote class="layui-elem-quote layui-text" style="border: 0px;">
				引用文件：这个架构必须留下的文件有
				<ul>
					<li>layui组件必须引入</li>
				  	<li>css/mian.css</li>
				  	<li>dist包下的所有文件 </li>
				  	<li>js/config.js</li>
				  	<li>js/main.js</li>
				</ul>
			</blockquote>
			<blockquote class="layui-elem-quote layui-text" style="border: 0px;">
				@author yyq
				<br>
				@CSND 慕云枫
			</blockquote>
		</div>
	</script>
	<script type="text/javascript" src="layui/layui.js"></script>
	<script type="text/javascript" src="js/config.min.js"></script>
	<script type="text/javascript" src="js/main.js"></script>

</html>